package com.edu.order.service;

import com.edu.api.entity.common.ResponseDTO;
import com.edu.api.entity.order.UserCourseOrder;
import com.baomidou.mybatisplus.extension.service.IService;



/**
 *
 */
public interface UserCourseOrderService extends IService<UserCourseOrder> {

    /**
     * 修改用户课程订单表信息
     * @return
     */
    int updateUserCourseOrder(String orderNo,Byte status);

    /**
     * 添加用户课程订单表信息
     * @return
     */
    int addUserCourseOrder(String orderNo,Integer userId,Integer courseId);

    ResponseDTO insertCourseOrder(String orderNo,Integer userId,Integer courseId);

}
